package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService {

    //菜品的分页查询
    PageResult pageDish(DishPageQueryDTO dishPageQueryDTO);

    //新增菜品
    void addDish(DishDTO dishDTO);

    //删除菜品
    void deleteDish(List<Long> ids);

    DishVO getDishId(Long id);

    void updateDish(DishDTO dishDTO);

    List<Dish> getCategoryIdByDish(Long id);

    void getStatus(Integer status, Long id);

    //条件查询菜品和口味
    List<DishVO> listWithFlavor(Dish dish);
}
